<template>
  <div id="app" ref="app">
    <ccnu-nav />
    <router-view />
    <ccnu-footer />
    <fixed-top />
  </div>
</template>
<script>
import ccnuNav from './components/ccnuNav.vue'
import ccnuFooter from './components/ccnuFooter.vue'
import fixedToTop from './components/fixedToTop.vue'
export default {
  components:{
    'ccnu-nav':ccnuNav,
    'ccnu-footer':ccnuFooter,
    'fixed-top':fixedToTop
  },
  beforeCreate(){
    this.$Loading.start();
  }
}
</script>
<style lang="scss">
.pages{
  margin-bottom: 80px !important;
}
.ivu-spin-fix{
    background-color: rgba(255,255,255,.7) !important;
}
body{
  overflow-x:hidden !important;
}
:root{
  --main-color:linear-gradient(-150deg, #4ad8c3, #83a2f1);
  --single-color:#73b1e4;
}
div.tooltip{
  display: none !important;
}
body,html{
  margin:0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
